<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------


use think\facade\Route;

//  全局路由参数配置
Route::option("ext", 'html')->option('cache', 3600);

// 全局路由不存在，处理
// Route::miss("admin/miss");

// 管理端
//Route::get('admin/index', 'admin/index/index');
// allowCrossDomain 支持跨域
//Route::get('admin/login', 'admin/login/index')->allowCrossDomain();

// 路由分组
Route::group('admin', [
    '/' => 'admin/index/index',
    'login' => 'admin/login/index',
]);
return [

];
